﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RaciosLista.aspx.cs" Inherits="welwitschia.Racios.RaciosLista" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
  <script type="text/javascript" language="javascript">
      $(function () {
          $("#<%=txtDataInicio.ClientID%>").datepicker();
          $("#<%=txtDataFim.ClientID%>").datepicker();
      });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="header" class="info">
            <h2>
                Unidades</h2>
            <div>
            </div>
        </div>
  

    <p>
        <asp:Label ID="lblDataInicio" Text="Data inicio:" runat="server"></asp:Label>
        <asp:TextBox ID="txtDataInicio" runat="server"></asp:TextBox>
        <asp:Label ID="lblDataFim" Text="Data Fim:" runat="server"></asp:Label>
        <asp:TextBox ID="txtDataFim" runat="server"></asp:TextBox>
        <asp:Button ID="btnPesquisar" runat="server" Text="Pesqusiar" />
    </p>
        
    <asp:ListView runat="server" ID="lvRacios"  
            onitemdeleting="lvRacios_ItemDeleting" 
            onitemediting="lvRacios_ItemEditing" 
            onitemcommand="lvRacios_ItemCommand">
        <LayoutTemplate>
             <table runat="server" class="grd2" id="table2">
                <thead>
                     <tr class="ghdr2">
                     <td>
                       <asp:Label ID="Label2" runat="server">Cliente</asp:Label>
                     </td>
                     <td>
                        <asp:Label ID="Label3" runat="server">Unidade</asp:Label>
                     </td>
                     <td>
                        &nbsp;
                     </td>
                     </tr>
                </thead>
                <tr runat="server" id="itemPlaceholder">
                </tr>
            </table>
            <asp:DataPager runat="server" ID="DataPager" PageSize="20">
              <Fields>
                <asp:NumericPagerField
                  ButtonCount="5"
                  PreviousPageText="<--"
                  NextPageText="-->" />
              </Fields>
            </asp:DataPager>
        </LayoutTemplate>
        <ItemTemplate>
            <tr id="Tr1" class='grd2<%#Container.DataItemIndex % 2 %>'>
                <td id="Td1" runat="server">
                    <%-- Data-bound content. --%>
                </td>
                <td id="Td2" runat="server">
                    <%-- Data-bound content. --%>
                </td>
            </tr>
        </ItemTemplate>
    </asp:ListView>
 
</asp:Content>
